package com.china.api.wechat.processor;

import java.awt.Color;
import java.awt.Font;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.imageio.ImageIO;

import com.china.api.wechat.processor.main.*;
import com.china.api.wechat.processor.model.PictureMessage;


/**
 * 
 * @Description:
 * @author:zhaoxudong
 * @version:v1.0.0
 * @Created:2013-11-26下午1:27:44
 * @Modified:
 */
@ActionPath(path = "/pic")
public class PicResponseProcessor extends Processor {
	
	/**
	  *
	  * @Description: 
	  * @param content
	  * @param session
	  * @return Response
	  * @Created:zhaoxudong 2013-11-26下午1:29:30
	  * @Modified:
	 */
	@ActionPath(path = "/two")
	public Response accountInfo(String content, Session session) {
		
		List<PictureMessage> pictureMessages = new ArrayList<PictureMessage>();
		PictureMessage pictureMessage = new PictureMessage();
		pictureMessage.setDescription("点击进入>>>");
		pictureMessage.setHref("");
		pictureMessage.setPicUrl("");
		pictureMessage.setTitle("图片信息");
		pictureMessages.add(pictureMessage);
		session.clear();
		return buildPicResponse(session.getUserId(), pictureMessages);
	}
	
	
}
